\hypertarget{class_x_function}{}\doxysection{XFunction类 参考}
\label{class_x_function}\index{XFunction@{XFunction}}


{\ttfamily \#include $<$xfunction.\+h$>$}



XFunction 的协作图\+:
% FIG 0
\doxysubsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_x_function_a2ea9aa5fad55053a266532e303cfc159}{XFunction}} ()
\item 
\mbox{\hyperlink{class_x_function_a91424f0f38f4f62c0327aa86df039de7}{XFunction}} (\mbox{\hyperlink{class_x_coil}{XCoil}} $\ast$\mbox{\hyperlink{class_x_function_a72afc9752303dc68c81b09b5f97cb2dd}{coilA}})
\item 
\mbox{\hyperlink{class_x_function_a418079d27038b345661cf787c7d21d47}{XFunction}} (\mbox{\hyperlink{class_x_coil}{XCoil}} $\ast$\mbox{\hyperlink{class_x_function_a72afc9752303dc68c81b09b5f97cb2dd}{coilA}}, \mbox{\hyperlink{class_x_coil}{XCoil}} $\ast$\mbox{\hyperlink{class_x_function_a08f8b714a87a0af9c504bdbbc9fdbf54}{coilB}})
\item 
\mbox{\hyperlink{class_x_function_afeb0f929a0eec24ccc679019a531483b}{XFunction}} (\mbox{\hyperlink{class_x_register}{XRegister}} $\ast$\mbox{\hyperlink{class_x_function_a3be0798e6de584f2e33f6bfd76a85792}{registerA}}, double value)
\item 
\mbox{\hyperlink{class_x_function_a6d11129eaea6937b49d0d0e7564bac21}{XFunction}} (\mbox{\hyperlink{class_x_register}{XRegister}} $\ast$\mbox{\hyperlink{class_x_function_a3be0798e6de584f2e33f6bfd76a85792}{registerA}}, \mbox{\hyperlink{class_x_register}{XRegister}} $\ast$\mbox{\hyperlink{class_x_function_a9f7e106f034c0d0d1a8613580e84ef4d}{registerB}})
\item 
\mbox{\hyperlink{class_x_function_a469d6668b0fcd09305a8c41210ec715e}{XFunction}} (\mbox{\hyperlink{class_x_register}{XRegister}} $\ast$\mbox{\hyperlink{class_x_function_a3be0798e6de584f2e33f6bfd76a85792}{registerA}}, \mbox{\hyperlink{class_x_register}{XRegister}} $\ast$\mbox{\hyperlink{class_x_function_a9f7e106f034c0d0d1a8613580e84ef4d}{registerB}}, int \mbox{\hyperlink{class_x_function_a0baa2c9f01fa224aaffc074edcc7419e}{register\+Num}})
\item 
\mbox{\hyperlink{class_x_function_a55161b0fc7cc2da9ae06c91e83d8abd8}{$\sim$\+XFunction}} ()
\item 
void \mbox{\hyperlink{class_x_function_a0a73e9981897a36d241788e45eea4ec8}{set\+Coil}} ()
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_function_a0a73e9981897a36d241788e45eea4ec8}{XFunction\+::set\+Coil}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_function_a3c5f1b12925b0541c6e750932453d409}{reset\+Coil}} ()
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_function_a3c5f1b12925b0541c6e750932453d409}{XFunction\+::reset\+Coil}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_function_a84536aef96210b6f4fe526d7fc663f76}{reverse\+Coil}} ()
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_function_a84536aef96210b6f4fe526d7fc663f76}{XFunction\+::reverse\+Coil}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_function_a3e178f1348a33ae4de6323e2e106270e}{copy\+Coil}} ()
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_function_a3e178f1348a33ae4de6323e2e106270e}{XFunction\+::copy\+Coil}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_function_ade1e88b58d8e44f150a850e68ee1895f}{set\+Register}} ()
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_function_ade1e88b58d8e44f150a850e68ee1895f}{XFunction\+::set\+Register}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_function_a3462a6a8b61b631ac51eb192f5712d2d}{copy\+Register}} ()
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_function_a3462a6a8b61b631ac51eb192f5712d2d}{XFunction\+::copy\+Register}} \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Private 属性}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_x_coil}{XCoil}} $\ast$ \mbox{\hyperlink{class_x_function_a72afc9752303dc68c81b09b5f97cb2dd}{coilA}}
\item 
\mbox{\hyperlink{class_x_coil}{XCoil}} $\ast$ \mbox{\hyperlink{class_x_function_a08f8b714a87a0af9c504bdbbc9fdbf54}{coilB}}
\item 
\mbox{\hyperlink{class_x_register}{XRegister}} $\ast$ \mbox{\hyperlink{class_x_function_a3be0798e6de584f2e33f6bfd76a85792}{registerA}}
\item 
\mbox{\hyperlink{class_x_register}{XRegister}} $\ast$ \mbox{\hyperlink{class_x_function_a9f7e106f034c0d0d1a8613580e84ef4d}{registerB}}
\item 
double \mbox{\hyperlink{class_x_function_a9378664dfc1b505a900e892b78f90139}{set\+Value}}
\item 
int \mbox{\hyperlink{class_x_function_a0baa2c9f01fa224aaffc074edcc7419e}{register\+Num}}
\end{DoxyCompactItemize}


\doxysubsection{构造及析构函数说明}
\mbox{\Hypertarget{class_x_function_a2ea9aa5fad55053a266532e303cfc159}\label{class_x_function_a2ea9aa5fad55053a266532e303cfc159}} 
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{XFunction()}{XFunction()}\hspace{0.1cm}{\footnotesize\ttfamily [1/6]}}
{\footnotesize\ttfamily XFunction\+::\+XFunction (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_x_function_a91424f0f38f4f62c0327aa86df039de7}\label{class_x_function_a91424f0f38f4f62c0327aa86df039de7}} 
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{XFunction()}{XFunction()}\hspace{0.1cm}{\footnotesize\ttfamily [2/6]}}
{\footnotesize\ttfamily XFunction\+::\+XFunction (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_x_coil}{XCoil}} $\ast$}]{coilA }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

\mbox{\Hypertarget{class_x_function_a418079d27038b345661cf787c7d21d47}\label{class_x_function_a418079d27038b345661cf787c7d21d47}} 
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{XFunction()}{XFunction()}\hspace{0.1cm}{\footnotesize\ttfamily [3/6]}}
{\footnotesize\ttfamily XFunction\+::\+XFunction (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_x_coil}{XCoil}} $\ast$}]{coilA,  }\item[{\mbox{\hyperlink{class_x_coil}{XCoil}} $\ast$}]{coilB }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

\mbox{\Hypertarget{class_x_function_afeb0f929a0eec24ccc679019a531483b}\label{class_x_function_afeb0f929a0eec24ccc679019a531483b}} 
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{XFunction()}{XFunction()}\hspace{0.1cm}{\footnotesize\ttfamily [4/6]}}
{\footnotesize\ttfamily XFunction\+::\+XFunction (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_x_register}{XRegister}} $\ast$}]{registerA,  }\item[{double}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

\mbox{\Hypertarget{class_x_function_a6d11129eaea6937b49d0d0e7564bac21}\label{class_x_function_a6d11129eaea6937b49d0d0e7564bac21}} 
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{XFunction()}{XFunction()}\hspace{0.1cm}{\footnotesize\ttfamily [5/6]}}
{\footnotesize\ttfamily XFunction\+::\+XFunction (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_x_register}{XRegister}} $\ast$}]{registerA,  }\item[{\mbox{\hyperlink{class_x_register}{XRegister}} $\ast$}]{registerB }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

\mbox{\Hypertarget{class_x_function_a469d6668b0fcd09305a8c41210ec715e}\label{class_x_function_a469d6668b0fcd09305a8c41210ec715e}} 
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\index{XFunction@{XFunction}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{XFunction()}{XFunction()}\hspace{0.1cm}{\footnotesize\ttfamily [6/6]}}
{\footnotesize\ttfamily XFunction\+::\+XFunction (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_x_register}{XRegister}} $\ast$}]{registerA,  }\item[{\mbox{\hyperlink{class_x_register}{XRegister}} $\ast$}]{registerB,  }\item[{int}]{register\+Num }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

\mbox{\Hypertarget{class_x_function_a55161b0fc7cc2da9ae06c91e83d8abd8}\label{class_x_function_a55161b0fc7cc2da9ae06c91e83d8abd8}} 
\index{XFunction@{XFunction}!````~XFunction@{$\sim$XFunction}}
\index{````~XFunction@{$\sim$XFunction}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{$\sim$XFunction()}{~XFunction()}}
{\footnotesize\ttfamily XFunction\+::$\sim$\+XFunction (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{成员函数说明}
\mbox{\Hypertarget{class_x_function_a3e178f1348a33ae4de6323e2e106270e}\label{class_x_function_a3e178f1348a33ae4de6323e2e106270e}} 
\index{XFunction@{XFunction}!copyCoil@{copyCoil}}
\index{copyCoil@{copyCoil}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{copyCoil()}{copyCoil()}}
{\footnotesize\ttfamily void XFunction\+::copy\+Coil (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\mbox{\hyperlink{class_x_function_a3e178f1348a33ae4de6323e2e106270e}{XFunction\+::copy\+Coil}} 


\begin{DoxyParams}{参数}
{\em coilA} & \\
\hline
{\em coilB} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_function_a3462a6a8b61b631ac51eb192f5712d2d}\label{class_x_function_a3462a6a8b61b631ac51eb192f5712d2d}} 
\index{XFunction@{XFunction}!copyRegister@{copyRegister}}
\index{copyRegister@{copyRegister}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{copyRegister()}{copyRegister()}}
{\footnotesize\ttfamily void XFunction\+::copy\+Register (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\mbox{\hyperlink{class_x_function_a3462a6a8b61b631ac51eb192f5712d2d}{XFunction\+::copy\+Register}} 

\mbox{\Hypertarget{class_x_function_a3c5f1b12925b0541c6e750932453d409}\label{class_x_function_a3c5f1b12925b0541c6e750932453d409}} 
\index{XFunction@{XFunction}!resetCoil@{resetCoil}}
\index{resetCoil@{resetCoil}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{resetCoil()}{resetCoil()}}
{\footnotesize\ttfamily void XFunction\+::reset\+Coil (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\mbox{\hyperlink{class_x_function_a3c5f1b12925b0541c6e750932453d409}{XFunction\+::reset\+Coil}} 


\begin{DoxyParams}{参数}
{\em coil} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_function_a84536aef96210b6f4fe526d7fc663f76}\label{class_x_function_a84536aef96210b6f4fe526d7fc663f76}} 
\index{XFunction@{XFunction}!reverseCoil@{reverseCoil}}
\index{reverseCoil@{reverseCoil}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{reverseCoil()}{reverseCoil()}}
{\footnotesize\ttfamily void XFunction\+::reverse\+Coil (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\mbox{\hyperlink{class_x_function_a84536aef96210b6f4fe526d7fc663f76}{XFunction\+::reverse\+Coil}} 


\begin{DoxyParams}{参数}
{\em coil} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_function_a0a73e9981897a36d241788e45eea4ec8}\label{class_x_function_a0a73e9981897a36d241788e45eea4ec8}} 
\index{XFunction@{XFunction}!setCoil@{setCoil}}
\index{setCoil@{setCoil}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{setCoil()}{setCoil()}}
{\footnotesize\ttfamily void XFunction\+::set\+Coil (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\mbox{\hyperlink{class_x_function_a0a73e9981897a36d241788e45eea4ec8}{XFunction\+::set\+Coil}} 


\begin{DoxyParams}{参数}
{\em coil} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_function_ade1e88b58d8e44f150a850e68ee1895f}\label{class_x_function_ade1e88b58d8e44f150a850e68ee1895f}} 
\index{XFunction@{XFunction}!setRegister@{setRegister}}
\index{setRegister@{setRegister}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{setRegister()}{setRegister()}}
{\footnotesize\ttfamily void XFunction\+::set\+Register (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\mbox{\hyperlink{class_x_function_ade1e88b58d8e44f150a850e68ee1895f}{XFunction\+::set\+Register}} 



\doxysubsection{类成员变量说明}
\mbox{\Hypertarget{class_x_function_a72afc9752303dc68c81b09b5f97cb2dd}\label{class_x_function_a72afc9752303dc68c81b09b5f97cb2dd}} 
\index{XFunction@{XFunction}!coilA@{coilA}}
\index{coilA@{coilA}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{coilA}{coilA}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_x_coil}{XCoil}}$\ast$ XFunction\+::coilA\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{class_x_function_a08f8b714a87a0af9c504bdbbc9fdbf54}\label{class_x_function_a08f8b714a87a0af9c504bdbbc9fdbf54}} 
\index{XFunction@{XFunction}!coilB@{coilB}}
\index{coilB@{coilB}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{coilB}{coilB}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_x_coil}{XCoil}}$\ast$ XFunction\+::coilB\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{class_x_function_a3be0798e6de584f2e33f6bfd76a85792}\label{class_x_function_a3be0798e6de584f2e33f6bfd76a85792}} 
\index{XFunction@{XFunction}!registerA@{registerA}}
\index{registerA@{registerA}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{registerA}{registerA}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_x_register}{XRegister}}$\ast$ XFunction\+::registerA\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{class_x_function_a9f7e106f034c0d0d1a8613580e84ef4d}\label{class_x_function_a9f7e106f034c0d0d1a8613580e84ef4d}} 
\index{XFunction@{XFunction}!registerB@{registerB}}
\index{registerB@{registerB}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{registerB}{registerB}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_x_register}{XRegister}}$\ast$ XFunction\+::registerB\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{class_x_function_a0baa2c9f01fa224aaffc074edcc7419e}\label{class_x_function_a0baa2c9f01fa224aaffc074edcc7419e}} 
\index{XFunction@{XFunction}!registerNum@{registerNum}}
\index{registerNum@{registerNum}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{registerNum}{registerNum}}
{\footnotesize\ttfamily int XFunction\+::register\+Num\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{class_x_function_a9378664dfc1b505a900e892b78f90139}\label{class_x_function_a9378664dfc1b505a900e892b78f90139}} 
\index{XFunction@{XFunction}!setValue@{setValue}}
\index{setValue@{setValue}!XFunction@{XFunction}}
\doxysubsubsection{\texorpdfstring{setValue}{setValue}}
{\footnotesize\ttfamily double XFunction\+::set\+Value\hspace{0.3cm}{\ttfamily [private]}}



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{xfunction_8h}{xfunction.\+h}}\item 
\mbox{\hyperlink{xfunction_8cpp}{xfunction.\+cpp}}\end{DoxyCompactItemize}
